><

Shifting to Web-safe colors



To protect colors from dithering in a browser, you can shift the colors to their closest equivalents in the Web palette. This ensures that the colors won't dither when displayed in browsers on either Windows or Macintosh operating systems capable of displaying only 256 colors. (See Previewing and controlling dithering.)

To shift colors to the closest Web palette equivalent:

1 Select one or more colors in the optimized image or color table. (See Selecting colors.)

2 Do one of the following:

  • Click the Web Shift button () in the Color Table panel/palette.
  • Choose Web Shift/Unshift Selected Colors from the Color Table palette menu.

  • A small white diamond () appears in the center of a Web-shifted color and in all Web-safe colors.

    To revert Web-shifted colors to their original colors:

    Do one of the following:

  • Select a Web-shifted color in the color table and click the Web Shift button () in the Color Table panel/palette.
  • Choose Unshift All Colors from the Color Table palette menu.

  • To specify tolerance for shifting colors automatically to the closest Web palette equivalents:

    In the Optimize panel/palette, enter a value for Web Snap or drag the pop-up slider. A higher value shifts more colors. (See Previewing and controlling dithering.)

    (In ImageReady, click the Show Options control () on the Optimize palette tab or choose Show Options from the Optimize palette menu to view the Web Snap option.)


    Optimizing Images for the Web > Optimizing colors in GIF and PNG-8 images > Shifting to Web-safe colors